<?php
echo CHtml::textField('txtPath','',array('id'=>'txtPath','width'=>500,'maxlength'=>500));
echo CHtml::ajaxButton('Browse',$this->createUrl('/Test/Browse'),array(
//echo CHtml::ajaxButton('Browse',$this->createUrl('/../Admin/Browse'),array(
        'onclick'=>'$("#fileDialog").dialog("open"); return false;',
        'update'=>'#fileDialog'
        ),array('id'=>'showFileDialog'));
?>    
<div id="fileDialog"></div>
